﻿using Net8.DependencyInjection.InterFace;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Net8.DependencyInjection.Model
{
    public class OrderService : IOrderServer
    {
        public IProductRepository ProductRepository { get; set; }
        public void GetOrder()
        {
            ProductRepository.GetProductRepository();
            Console.WriteLine($"查询商品成功{this.GetHashCode()}");
        }
    }
}
